import {EntityId, PageQueryParams} from "kf-web-library";

export interface ActivityRegistPageQueryParams extends Partial<PageQueryParams> {
  searchText?: string;
  ids?: EntityId[];
  userId?: EntityId; //预约人ID
}

export interface ActivityRegist {
  id: EntityId;
  code: string;
  name: string;
  createTime?: string;
  modifyTime?: string;
  description?: string;
}

export interface ActivityRegist_Create {
  code: string;
  name: string;
  description?: string;
}

export interface ActivityRegist_Modify extends ActivityRegist_Create {
  id: EntityId;
}

export interface ActivityRegist_Patch extends Partial<ActivityRegist_Modify> {
  id: EntityId;
}

